package lab02.test12;

public class Rectangular extends Shape {
    @Override
    void area() {
        area = length * width;
    }

    @Override
    void perimeter() {
        perimeter = (length + width) * 2;
    }
}
